from werkzeug import local

local = local.Local()


def add(key: str, val):
    setattr(local, key, val)


def get(key: str):
    return getattr(local, key)